package top.happylaishop.shop.exception;

public class NotAuthrizationException extends BaseRuntimeException{

    private int status = 401;

    @Override
    public int getStatus() {
        return status;
    }

    @Override
    public void setStatus(int status) {
        this.status = status;
    }

    public NotAuthrizationException() {
    }

    public NotAuthrizationException(String message, int status) {
        super(message);
        this.status = status;
    }

    public NotAuthrizationException(String message) {
        super(message);
    }

    public NotAuthrizationException(String message, Throwable cause) {
        super(message, cause);
    }

    public NotAuthrizationException(Throwable cause) {
        super(cause);
    }

    public NotAuthrizationException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
